projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9cea94
)
(code_convert_region): Call adjust_after_insert also
author
Andreas Schwab
<schwab@suse.de>
Tue, 14 Apr 1998 10:21:04 +0000
(10:21 +0000)
committer
Andreas Schwab
<schwab@suse.de>
Tue, 14 Apr 1998 10:21:04 +0000
(10:21 +0000)
in unibyte mode.
src/coding.c
patch
|
blob
|
history
diff --git
a/src/coding.c
b/src/coding.c
index e94cee5e2de9c0dbee3efe7800e1a463867a1eb6..602737ad6bf69cc261cf583c9e170fcbd4941e14 100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-4026,7
+4026,11
@@
code_convert_region (from, from_byte, to, to_byte, coding, encodep, replace)
coding->produced_char = len;
}
else
- coding->produced_char = len_byte;
+ {
+ if (!replace)
+ adjust_after_insert (from, from_byte, to, to_byte, len_byte);
+ coding->produced_char = len_byte;
+ }
return 0;
}